project(connection-pool)

find_package(libpqxx CONFIG REQUIRED)

# 生成库文件
add_library(${PROJECT_NAME} ConnectionPool.cpp)
target_include_directories(${PROJECT_NAME}
    PUBLIC  ${PROJECT_SOURCE_DIR}
)

target_link_libraries(${PROJECT_NAME}
    libpqxx::pqxx
)